<?php /* Smarty version Smarty-3.1.6, created on 2018-01-18 10:59:50
         compiled from "D:/wamp/www/myshop/Admin/View\IntegralGoods\editintegralgoods.html" */ ?>
<?php /*%%SmartyHeaderCode:224575a4f395955a7f5-65523584%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'c53dc311e736b7dfee1ae217bbfeb01c2ad9504b' => 
    array (
      0 => 'D:/wamp/www/myshop/Admin/View\\IntegralGoods\\editintegralgoods.html',
      1 => 1516244376,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '224575a4f395955a7f5-65523584',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.6',
  'unifunc' => 'content_5a4f39595b800',
  'variables' => 
  array (
    'info' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5a4f39595b800')) {function content_5a4f39595b800($_smarty_tpl) {?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<link href="<?php echo @ADMIN_CSS_PATH;?>
style.css" rel="stylesheet" type="text/css" />
</head>

<body>

	<div class="place">
    <span>位置：</span>
    <ul class="placeul">
    <li><a href="<?php echo @__MODULE__;?>
/index/main">首页</a></li>
    <li><a href="<?php echo @__CONTROLLER__;?>
/goalstore">商品列表</a></li>
    <li>编辑积分商品	</li>
    </ul>
    </div>
    
    <div class="formbody">
    
    <div class="formtitle"><span>基本信息</span></div>
    <form action="<?php echo @__SELF__;?>
/id/<?php echo $_smarty_tpl->tpl_vars['info']->value['id'];?>
" method="post" enctype="multipart/form-data">
    <ul class="forminfo">
    <li><label>商品编号</label><input name="id" id="id" type="text" class="dfinput" readonly="readonly" value="<?php echo $_smarty_tpl->tpl_vars['info']->value['id'];?>
"/><i>商品编号，不可编辑</i></li>
    <li><label>商品名称</label><input name="name" id="name" type="text" class="dfinput" value="<?php echo $_smarty_tpl->tpl_vars['info']->value['name'];?>
"/></li>
    <li><label>商品价格</label><input name="price" id="price" type="text" class="dfinput" value="<?php echo $_smarty_tpl->tpl_vars['info']->value['price'];?>
"/></li>
    <li><label>商品属性:</label>  
    <select class="select3" name="isvirtual" id="isvirtual">
    <option value="1" <?php if ($_smarty_tpl->tpl_vars['info']->value['isvirtual']==1){?>selected="selected"<?php }?>>虚拟物品</option>
    <option value="0" <?php if ($_smarty_tpl->tpl_vars['info']->value['isvirtual']==0){?>selected="selected"<?php }?>>实体物品</option>
    </select>
    </li>
    <li><label>剩余数量</label><input name="count" id="count" type="text" class="dfinput" value="<?php echo $_smarty_tpl->tpl_vars['info']->value['count'];?>
"/></li>
    <li><label>商品销量</label><input name="salecount" id="salecount" type="text" class="dfinput" value="<?php echo $_smarty_tpl->tpl_vars['info']->value['salecount'];?>
"/></li>
    <li><label>当前图片</label><span><img src="<?php echo @SITE_URL;?>
/<?php echo $_smarty_tpl->tpl_vars['info']->value['picture'];?>
" style="width: 168px;height: 126px;"/></span></li>
    <li><label>修改图片</label><input name="picture" id="picture" type="file" /></li>
    <li><label>商品详情</label><textarea name="detail" id="detail" cols="" rows=""  style="overflow-y:scroll;overflow-x:scroll;" placeholder="如：1.描述描述描述。。。</br>" class="textinput"> <?php echo $_smarty_tpl->tpl_vars['info']->value['detail'];?>
</textarea><i>转行处请加英文&lt;/br&gt;</i></li>
    <li><label>&nbsp;</label><input type="submit" class="btn" value="确认保存"/></li>
    </ul>
    </form>
    
    </div>
</body>
</html>
<?php }} ?>